package nix.anim.mapper;

import java.util.List;
import nix.anim.pojo.Menu;
import nix.anim.pojo.MenuExample;
import org.apache.ibatis.annotations.Param;

public interface MenuMapper {

	int countByExample(MenuExample example);

	int deleteByExample(MenuExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(Menu record);

	int insertSelective(Menu record);

	List<Menu> selectByExample(MenuExample example);

	Menu selectByPrimaryKey(Integer id);

	List<Menu> selectByExampleUserId(@Param("example") MenuExample example, @Param("user_id") Integer userId);

	int updateByExampleSelective(@Param("record") Menu record, @Param("example") MenuExample example);

	int updateByExample(@Param("record") Menu record, @Param("example") MenuExample example);

	int updateByPrimaryKeySelective(Menu record);

	int updateByPrimaryKey(Menu record);
}